from django.urls import path
from . import views

app_name = "apitower"
urlpatterns = [
    # 添加楼
    path("add_tower_api/", views.add_tower_api, name="add_tower_api"),
    # 添加楼层
    path("add_floor_api/", views.add_floor_api, name="add_floor_api"),
    # 添加房间
    path("add_room_api/", views.add_room_api, name="add_room_api"),
    # 删除楼
    path("del_tower_api/", views.del_tower_api, name="del_tower_api"),
    # 删除楼层
    path("del_floor_api/", views.del_floor_api, name="del_floor_api"),
    # 删除房间
    path("del_room_api/", views.del_room_api, name="del_room_api"),
    # 修改楼
    path("change_tower_api/", views.change_tower_api, name="change_tower_api"),
    # 修改楼层
    path("change_floor_api/", views.change_floor_api, name="change_floor_api"),
    # 修改房间
    path("change_room_api/", views.change_room_api, name="change_room_api"),
    # 查询楼
    path("inquire_tower_api/", views.inquire_tower_api, name="inquire_tower_api"),
    # 查询楼层
    path("inquire_floor_api/", views.inquire_floor_api, name="inquire_floor_api"),
    # 查询房间
    path("inquire_room_api/", views.inquire_room_api, name="inquire_name_api"),

]




